package com.lsmw.ucenter.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.lsmw.ucenter.entity.LsUCenterMember;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 二号男嘉宾
 * @since 2020-12-24
 */
public interface LsUCenterMemberMapper extends BaseMapper<LsUCenterMember> {
    @Select("select * from ls_u_center_member ${ew.customSqlSegment}")
    List<LsUCenterMember> findMembersByNicknameAsLikeIsAdmin(@Param(Constants.WRAPPER) Wrapper wrapper);
}
